package 顺序表.练习.扑克牌游戏;

public class Card {
    private String pattern ;
    private int num;

    public Card(String pattern, int num) {
        this.pattern = pattern;
        this.num = num;
    }

    public String getPattern() {
        return pattern;
    }

    public void setPattern(String pattern) {
        this.pattern = pattern;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "{"+pattern +","+num+
                '}';
    }
}
